package com.guigu.tankai.pojo;


import java.io.Serializable;
import java.util.List;


public class PageVo<T> implements Serializable {
    private static final long serialVersionUID=1L;
    // 总记录数
    private Long total;
    // 当前页的数据
    private List<T> rows;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "PageVo{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }

}
